import $http from "./index.js"

export const updateUserName = (data) =>{
	return $http.post("/userInfor/changeUserName",{"userName":data})
}

export const getRegisterName = () =>{
	return $http.get("/userInfor/getRegisterTime")
}

export const getIndustry = () =>{
	return $http.get("/userInfor/getIndustry")
}

export const updatePassword = (data) =>{
	return $http.post("/userInfor/updataPassword",data)
}

export const updateIndustryPost = (data) =>{
	return $http.post("/userInfor/updateIndustry",{"industry":data})
}